/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.business.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.BusiDataEntity;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 测试功能描述Entity
 * @author 测试功能作者
 * @version 2016-07-26
 */
public class Groupvehicle extends BusiDataEntity<Groupvehicle> {
	
	private static final long serialVersionUID = 1L;
	private String vehiclegroupId;		// 测试VG
	private String vehicleId;		// 测试V
	protected boolean isNewRecord = true;
	
	public Groupvehicle() {
		super();
	}

	public Groupvehicle(String id){
		super(id);
	}

	@Length(min=0, max=11, message="测试VG长度必须介于 0 和 11 之间")
	public String getVehiclegroupId() {
		return vehiclegroupId;
	}

	public void setVehiclegroupId(String vehiclegroupId) {
		this.vehiclegroupId = vehiclegroupId;
	}
	
	@Length(min=0, max=11, message="测试V长度必须介于 0 和 11 之间")
	public String getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(String vehicleId) {
		this.vehicleId = vehicleId;
	}

	@Override
	public void setIsNewRecord(boolean isNewRecord) {
		// TODO Auto-generated method stub
		super.setIsNewRecord(isNewRecord);
	}
	
	
	
	
}